package com.ydcycloud.job.service;
import java.util.List;
import java.util.Map;

import com.smart.mvc.model.Pagination;
import com.ydcycloud.job.dao.JobDao;
import com.ydcycloud.job.model.ComProfession;
import com.ydcycloud.job.model.Profession;
import com.ydcycloud.sys.service.BaseService;

public interface JobService  extends BaseService<JobDao, ComProfession, Integer> {
	
	/**
	 * 获取职业列表
	 * @param pageNo
	 * @param pageSize
	 * @param areaCode
	 * @param jobName
	 * @param profession
	 * @param sortType
	 * @param companyId
	 * @return
	 */
	Pagination<Map<String,Object>> findJob(Integer pageNo, Integer pageSize, Integer areaCode, String jobName,String profession,String sortType,Integer companyId);
	
	/**
	 * 获取招聘详情
	 * @param jobId
	 * @return
	 */
	Map<String, Object> getDetail(Integer jobId);
	
	/**'
	 * 获取所有的职业名字
	 * @return
	 */
	List<Profession> findProfessionName();
}
